/*
 * ControlMessage.h
 *
 *  Created on: Oct 11, 2012
 *      Author: nam20485
 */

#ifndef CONTROLMESSAGE_H_
#define CONTROLMESSAGE_H_

#include "Message.h"

class ControlMessage: public Message
{
public:
	typedef enum
	{
		NONE,
		ACK,
		NACK,
		HELLO,
		BYE
	} Code;

	ControlMessage(const BYTE* aBytes);
	virtual ~ControlMessage();

	inline Code getCode()	const	{ return m_eCode; }

protected:
	Code m_eCode;

};

#endif /* CONTROLMESSAGE_H_ */
